package Adapter.InterferAdapter;

/**
 * <p>Title Banner</p>
 *
 * @author YiMing Liu
 * @date 2018/6/9 10:03
 * <p>Description:</p>
 */
public class Banner {
    private String string;

    public Banner(String string) {
        this.string = string;
    }

    public void showWithParen(){
        System.out.println("("+string+")");
    }
    public void showWithAster(){
        System.out.println("*"+string+"*");
    }
}
